typedef struct _mfmode {
	char *name;
	char *bdpi;
	char *desc;
	} mfmode;

mfmode avail_modes[150] = {
	{"agfafzz", "100", "AGFA 400PS (406dpi)"},
	{"agfatfzz", "406", "AGFA P3400PS (400dpi)"},
	{"amiga", "400", "Commodore Amiga (100dpi)"},
	{"aps", "100", "Autologic APS-Micro5 (723dpi)"},
	{"apssixhi", "722.909", "Autologic APS-Micro6 (1016dpi)"},
	{"atariezf", "1016", "Atari ST SLM 804 printer (300dpi)"},
	{"atarinf", "300", "Atari previewer (95dpi)"},
	{"atarins", "95", "Atari previewer (96dpi)"},
	{"atariotf", "96", "Atari ST SM 124 screen (101dpi)"},
	{"bitgraph", "101", "BBN Bitgraph (118dpi)"},
	{"bjtenex", "118", "Canon BubbleJet 10ex (360dpi)"},
	{"bjtzzex", "360", "Canon BubbleJet 200ex (360 dpi)"},
	{"bjtzzs", "360", "Canon BubbleJet 200 (720x360dpi)"},
	{"bjtzzl", "720", "BubbleJet 200 landscape (360x720 dpi)"},
	{"boise", "180", "HP 2680A (180dpi)"},
	{"canonbjc", "360", "Canon BJC-600 (360dpi)"},
	{"canonex", "600", "LaserWriter Pro 630 (600dpi)"},
	{"canonlbp", "240", "Symbolics LGP-10 (240dpi)"},
	{"cg", "1301", "Compugraphic 8600 (1301x1569dpi)"},
	{"cgl", "1200", "Compugraphic 8600 landscape (1569x1302dpi)"},
	{"cgnszz", "300", "Compugraphic 9600 (1200dpi)"},
	{"crs", "70", "Alphatype CRS (5333dpi)"},
	{"cx", "100", "Canon CX, SX, LBP-LX (300dpi)"},
	{"datadisc", "82", "DataDisc (70dpi)"},
	{"newdd", "300", "DataDisc (70x93dpi)"},
	{"declarge", "600", "DEC 19-inch, 1280 x 1024 (100dpi)"},
	{"decsmall", "384", "DEC 17-inch, 1024 x 768 (82dpi)"},
	{"deskjet", "83", "HP DeskJet 500 (300dpi)"},
	{"docutech", "720", "Xerox 8790 or 4045 (600dpi)"},
	{"dover", "120", "Xerox Dover (384dpi)"},
	{"eighthre", "60", "EightThree (83dpi)"},
	{"epscszz", "240", "Epson Stylus Color 600 (720 dpi)"},
	{"epsdrft", "300", "Epson (120x72dpi)"},
	{"epsdrftl", "120", "Epson (72x120dpi)"},
	{"epsfast", "360", "Epson (60x72dpi)"},
	{"epsfastl", "360", "Epson (72x60dpi)"},
	{"epson", "180", "9-pin Epson MX/FX (240x216dpi)"},
	{"epsonl", "720", "9-pin Epson MX/FX landscape (216x240dpi)"},
	{"epsonact", "720", "Epson Action Laser 1500 (300dpi)"},
	{"epsonlo", "360", "Epson (120x216dpi)"},
	{"epsonlol", "44", "Epson landscape (216x120dpi)"},
	{"epsonsq", "204", "Epson SQ 870 (360dpi)"},
	{"epstypro", "204", "Epson Stylus Pro (360dpi)"},
	{"epstyplo", "200", "Epson Stylus Pro (180dpi)"},
	{"epstypmd", "180", "Epson Stylus Pro (720x360dpi)"},
	{"esphi", "240", "Epson Stylus Pro (720dpi)"},
	{"epstylus", "240", "Epson Stylus (360dpi)"},
	{"fourfour", "96", "FourFour (44dpi)"},
	{"gtfax", "300", "G3fax (204x196dpi)"},
	{"gtfaxl", "600", "G3fax landscape (196x204dpi)"},
	{"gtfaxlo", "240", "G3fax (204x98dpi)"},
	{"gtfaxlol", "118", "G3fax landscape (98x204dpi)"},
	{"highfax", "240", "G3fax (200dpi)"},
	{"hprugged", "240", "HP RuggedWriter 480 (180dpi)"},
	{"ibm_a", "240", "IBM 38xx (240dpi)"},
	{"ibmd", "100", "IBM 38xx (240dpi)"},
	{"ibmega", "87", "IBM EGA monitor (96x81dpi)"},
	{"ibmegal", "110", "IBM EGA monitor landscape (81x96dpi)"},
	{"ibmfzon", "160", "IBM 4019 (300dpi)"},
	{"ibmfztn", "240", "IBM 4029-30-39, 4250 (600dpi)"},
	{"ibmpp", "144", "IBM ProPrinter (240x216dpi)"},
	{"ibmppl", "300", "IBM ProPrinter (216x240dpi)"},
	{"ibmsoff", "144", "IBM 6154 display (118dpi)"},
	{"sherpa", "1200", "IBM 6670 (Sherpa) (240dpi)"},
	{"ibmteot", "1200", "IBM 3812 (240dpi)"},
	{"ibmtetz", "600", "IBM 3820 (240dpi)"},
	{"ibmtont", "635", "IBM 3193 screen (100dpi)"},
	{"ibmtosn", "3386", "IBM 3179 screen (87x65dpi)"},
	{"ibmtosnl", "1270", "IBM 3179 screen landscape (65x87dpi)"},
	{"ibmvga", "2540", "IBM VGA monitor (110dpi)"},
	{"ibx", "600", "Chelgraph IBX (9600dpi)"},
	{"itoh", "600", "CItoh 8510A (160x144dpi)"},
	{"itohl", "600", "CItoh 8510A landscape (144x160dpi)"},
	{"itohtoz", "1200", "CItoh 310 (240x144dpi)"},
	{"itohtozl", "600", "CItoh 310 landscape (144x240dpi)"},
	{"iw", "150", "Apple ImageWriter (144dpi)"},
	{"jetiiisi", "1000", "HP Laser Jet IIISi (300dpi)"},
	{"lasf", "300", "DEC LA75 (144dpi)"},
	{"lexmarkr", "300", "Lexmark Optra R 4049 (1200dpi)"},
	{"lexmarks", "300", "Lexmark Optra S 1250/1650/2450 (1200dpi)"},
	{"lexmarku", "180", "Lexmark Optra R+ 4049 (600dpi)"},
	{"linolo", "360", "Linotype Linotronic [13]00 (635dpi)"},
	{"linolttz", "118.06", "Linotronic L-300 with RIP-50 (3386dpi)"},
	{"linoone", "800", "Linotronic [13]00 (1270dpi)"},
	{"linotzzh", "86.4", "Linotype Linotronic 300 (2540dpi)"},
	{"ljfive", "72", "HP LaserJet 5 (600dpi)"},
	{"ljfivemp", "95", "HP LaserJet 5MP (600 dpi)"},
	{"ljfour", "180", "HP LaserJet 4 (600dpi)"},
	{"ljfzzz", "360", "LaserJet 4000N, ProRes mode (1200dpi)"},
	{"ljfzzzfr", "320", "HP LaserJet 4000 FastRes (600dpi)"},
	{"ljlo", "160", "HP LaserJet (150dpi)"},
	{"lmaster", "400", "LaserMaster (1000dpi)"},
	{"lnotr", "100", "DEC LN03R Scriptprinter (300dpi)"},
	{"lnzo", "91", "DEC LN01 (300dpi)"},
	{"lpstz", "101", "DEC lps20 (300dpi)"},
	{"lqlores", "120", "Epson LQ-500 (180dpi)"},
	{"lqmed", "508", "Epson LQ-500 (360x180dpi)"},
	{"lqmedl", "240", "Epson LQ-500 landscape (180x360dpi)"},
	{"lview", "600", "Sigma L-View monitor (118x109dpi)"},
	{"lwpro", "118", "Apple LaserWriterPro 810 (800dpi)"},
	{"macmag", "118", "Mac screens at magstep 1 (86dpi)"},
	{"mactrue", "300", "Mac screen (72dpi)"},
	{"ncd", "1200", "NCD 19-inch (95dpi)"},
	{"nec", "600", "NEC (180dpi)"},
	{"nechi", "72.27", "NEC-P6 (360dpi)"},
	{"neclm", "1200", "NEC PC-PR406LM (320dpi)"},
	{"nectzo", "300", "NEC PC-PR201 series (160dpi)"},
	{"nexthi", "600", "NeXT Newgen (400dpi)"},
	{"nextscrn", "600", "NeXT monitor (100dpi)"},
	{"nineone", "1200", "NineOne (91x91) (91dpi)"},
	{"nullmode", "300", "TFM files only (101dpi)"},
	{"onetz", "300", "OneTwoZero (120/120) (120dpi)"},
	{"ocessfz", "300", "OCE 6750-PS (508dpi)"},
	{"okidata", "600", "Okidata (240x288dpi)"},
	{"okidatal", "400", "Okidata landscape (288x240dpi)"},
	{"okifte", "240", "Okidata 410e in 600DPI mode (600dpi)"},
	{"pcscreen", "360", "also, e.g., high-resolution Suns (118dpi)"},
	{"pcprevw", "85", "PC screen preview (118dpi)"},
	{"phaser", "2400", "Tektronix Phaser PXi (300dpi)"},
	{"phaserfs", "180", "Tektronix Phaser 560 (1200dpi)"},
	{"phasertf", "1200", "Tektronix Phaser 350 (600x300dpi)"},
	{"pixpt", "78", "one pixel per point (72.27dpi)"},
	{"prntware", "1800", "Printware 720IQ (1200dpi)"},
	{"qms", "2400", "QMS (Xerox engine) (300dpi)"},
	{"qmsostf", "1200", "QMS 1725 (600dpi)"},
	{"qmsoszz", "600", "QMS 1700 (600dpi)"},
	{"qmstftf", "600", "QMS 2425 (1200dpi)"},
	{"ricoh", "300", "e.g., TI Omnilaser (300dpi)"},
	{"ricoha", "300", "e.g., IBM 4216 (300dpi)"},
	{"ricohlp", "300", "e.g., DEC LN03 (300dpi)"},
	{"ricohsp", "300", "Ricoh sp10ps/lp7200-ux (600dpi)"},
	{"sparcptr", "", "Sun SPARCprinter (400dpi)"},
	{"starnlt", "", "Star NL-10 (240x216dpi)"},
	{"starnltl", "", "Star NL-10 landscape (216x240dpi)"},
	{"stylewri", "", "Apple StyleWriter (360dpi)"},
	{"sun", "", "Sun and BBN Bitgraph (85dpi)"},
	{"supre", "", "Ultre*setter (2400dpi)"},
	{"toshiba", "", "Toshiba 13XX, EpsonLQ (180dpi)"},
	{"ultre", "", "Ultre*setter (1200dpi)"},
	{"vs", "", "VAXstation monitor (78dpi)"},
	{"vtftzz", "", "Varityper 4200 B-P (1800dpi)"},
	{"vtftzzhi", "", "Varityper 4300P (2400dpi)"},
	{"vtftzzlo", "", "Varityper 4300P (1200dpi)"},
	{"vtfzszw", "", "Varitype 5060W, APS 6 (600dpi)"},
	{"vtszz", "", "Varityper Laser 600 (600dpi)"},
	{"xrxesnz", "", "Xerox 8790 or 4045 (300dpi)"},
	{"xrxfzfz", "", "Xerox 4050/4075/4090/4700 (300dpi)"},
	{"xrxnszz", "", "Xerox 9700 (300dpi)"},
	{"xrxtszz", "", "Xerox 3700 (300dpi)"},
	{"help", "", "What modes are available?"}
	};
